import request from '@/utils/request'

export default {

  getCommonPageList (page,limit,courseId){
    return request({
      url: `/edu/comment/CourseCommentIndex/${page}/${limit}`,
      params: {courseId},
      method: 'get'
    })
  },

  addComment(comment){
    return request({
      url: `/edu/comment/auth/save`,
      method: 'post',
      data: comment
    })
  }

}
